package com.hospital.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName volunteer
 */
@Data
public class Volunteer implements Serializable {

    @TableId(type= IdType.AUTO)
    private Integer volunteerId;

    private String name;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date dateOfBirth;

    private String address;

    private Object gender;

    private String patientKey;

    private String patientBloodType;

    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}